<template>
    <el-input v-model="form[item.name]" :placeholder="item.placeholder" clearable :type="item.options.type"
        :maxlength="item.options.maxlength" show-word-limit :size="item.size" :disabled="item.disabled">
        <template v-if="item.options.append" #append>{{
            item.options.append
        }}</template>
    </el-input>
</template>
<script setup>
import { ref, defineModel } from 'vue'
const form = defineModel()
const props = defineProps({
    item: { type: Object, default: () => { } }
})
</script>
